# !/usr/bin/env python
# _*_ coding:utf-8 _*_

from django.conf.urls import url

from . import views

urlpatterns = [
    # 1. 首页
    url(r'^orders/settlement/$', views.OrderSettlementView.as_view(),name="settlement"),
    # 2. 提交订单 orders/commit/
    url(r'^orders/commit/$', views.OrderCommitView.as_view(), name="commit"),
    # 3. 订单成功页面的显示 orders/success/
    url(r'^orders/success/$', views.OrderSuccessView.as_view(), name="success"),

    # 4.
    # url('^orders/info/(?P<page_num>\d+)/$', views.OrderListView.as_view()),
    # url(r'^/commit/$', views. view.as_view(), name='')
    #4. 订单评价order.status
    url(r'^orders/success/$', views.rders.statusView.as_view(), name="status"),

    # 4.订单展示
    # url('^orders/(?P<page_num>\d+)/$', views.OrderListView.as_view(), name="order"),
]
